package uri.model.collection;

import java.util.ArrayList;
import java.util.List;

import uri.model.BoardVO;
import uri.model.FileVO;

public interface CollectionService {

	void writeCollection(BoardVO bvo);

	void fileUpload(FileVO fvo);

	BoardVO detailCollectionNoHit(String no);

	List<FileVO> fileInfo(String no);

	CollectionListVO contentList(String nowPage);

	BoardVO detailCollectionHitPlus(String no);
	
	void hitPlus(String no);

	void deleteCollection(String no);

	void deleteFiles(String no, String path);

	List<CommentVO> getAllComment(String no);

	int writeComment(CommentVO cvo);

	int deleteComment(String no);

	int updateComment(CommentVO cvo);

	void updateCollection(BoardVO bvo);

	void updateFileList(FileVO fvo);

	void deleteFile(String no, String path);

	void updateFile(FileVO updateFileInfo);

	void deleteFileByno(String no);

	void replyWriteGo(BoardVO bvo);

	void updateRef(BoardVO bvo);

	CollectionListVO findCollectionByTitle(String word, String nowPage);

	CollectionListVO findCollectionByContent(String word, String nowPage);

	CollectionListVO findCollectionByTitleAndContent(String word, String nowPage);

	void updateLike(String no);

}